.network-session-viewer-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.network-session-name-and-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.network-session-viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-left: 24px;
}

.network-session-viewer-more-actions {
  .more-action {
    padding: 5px 10px;

    .more-action-icon {
      width: initial;
      padding: 5px;
    }
  }
}

.network-session-table-container {
  height: 100%;

  .ant-pro-table-list-toolbar-left,
  .ant-pro-table-list-toolbar-title {
    width: 100%;
  }

  .network-session-list-header {
    width: 100%;
    justify-content: space-between;
    .rq-btn {
      margin: 0;
    }
    .network-session-list-heading {
      margin-bottom: 0;
    }

    .import-btn-group {
      display: flex;
      align-items: flex-end;
      gap: 4px;
    }
  }
}

@media screen and (max-width: 768px) {
  .session-viewer-page {
    .session-viewer-header {
      flex-direction: column;
    }
  }
}

.network-session-modal {
  .network-session-modal-content {
    padding: 20px;
    background: var(--requestly-color-surface-0);
    overflow: auto;
    border-radius: var(--border-radius-md);

    .network-session-modal-footer {
      justify-content: end;
      margin-top: 16px;
    }
  }
}

.mock-responses-popover-overlay {
  font-size: var(--requestly-font-size-sm, 12px);
  z-index: 20000;
}

.mock-responses-popover {
  padding: 4px;
  cursor: pointer;

  & .mock-responses-popover-dropdown-text {
    font-size: var(--requestly-font-size-sm, 12px);
  }
  & .mock-responses-popover-dropdown-btn {
    margin-top: 6px;
  }
  & .anticon.mock-responses-popover-dropdown-icon {
    vertical-align: middle;
  }
}

.session-mock-input.rq-input {
  &::placeholder {
    font-size: var(--requestly-font-size-sm, 12px);
  }
}
